<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Guide</title>
    #required_css
    <link rel="stylesheet" href="$!basePath/app/docs.css">
</head>
<body>
<div class="container bs-docs-container">
    <div class="row">
        <div class="col-md-12" role="main">
            <div class="bs-docs-section">
                <h1 class="page-header">代码高亮</h1>
                <p class="lead">基于<code>syntax-highlighter</code>实现，需引入<code>/framework/js/view/highlighter.js</code></p>

                <h2>基本实例</h2>
                <p>无需初始化，引入js后初始化</p>
                <div class="bs-example">
                    <h3>Java</h3>
                    <pre class="brush: java">
                        public void test(){
                            System.out.println("test");
                        }
                    </pre>
                    <h3>html</h3>
                    <pre class="brush: html">
                        &lt;table&gt;
                            &lt;tr&gt;
                                &lt;td&gt;&lt;/td&gt;
                                &lt;td&gt;&lt;/td&gt;
                                &lt;td&gt;&lt;/td&gt;
                            &lt;/tr&gt;
                        &lt;/table&gt;
                    </pre>
                    <h3>JavaScript</h3>
                    <pre class="brush: javascript">
                        function test(){
                            alert("test");
                        }
                    </pre>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
#required_js
<script type="text/javascript" src="$!basePath/app/docs.js"></script>
<script type="text/javascript" src="$!basePath/framework/js/view/highlighter.js"></script>
</html>